package com.fuyao.cloud.admin.flow.listener;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.ExecutionListener;
import org.springframework.stereotype.Component;

@Component("skipTaskListener")
public class SkipTaskListener implements ExecutionListener {
    @Override
    public void notify(DelegateExecution execution) {
        /*UserTask userTask = (UserTask) execution.getCurrentFlowElement();
        userTask.setSkipExpression("${1==1}");*/
    }
}
